package rt.crashmere.server.model.request.userRequest;

import lombok.Data;
import lombok.EqualsAndHashCode;
import rt.crashmere.server.model.request.PageRequest;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserQueryRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = -5530518569938105383L;

    /**
     * id
     */
    private Integer id;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 账号
     */
    private String userAccount;

    /**
     * 用户头像
     */
    private String userAvatar;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 用户角色: user, admin
     */
    private String userRole;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

}